from __future__ import unicode_literals

from django.db import models

# Create your models here.
class Test(models.Model):
    name = models.CharField(max_length=20);
    age = models.IntegerField();
    class Meta:
        db_table = 'test'
class Users(models.Model):
    name = models.CharField(max_length=20);
    age = models.IntegerField();
class Memca(models.Model):
    type = models.IntegerField();
    type_name = models.CharField(max_length=20);
    total = models.BigIntegerField();
    available = models.BigIntegerField();
    percent = models.BigIntegerField();
    free = models.BigIntegerField();
    active = models.BigIntegerField();
    inactive = models.BigIntegerField();
    buffers = models.BigIntegerField();
    cached = models.BigIntegerField();
    createDate = models.DateTimeField();
    class Meta:
        db_table = 'memca'
